home *** CD-ROM | disk | FTP | other *** search
- /* tailor.h
-
- Abbreviated version of tailor.h, not copyrighted 1992 by Mark Adler,
- which is part of the Info-Zip distribution.
-
- Provides the macro OF which is used to remove arguments in function
- prototypes for non-ANSI C.
-
- */
-
- /* Define MSDOS for Turbo C as well as Microsoft C */
- #ifdef __POWERC /* For Power C too */
- # define __TURBOC__
- #endif /* __POWERC */
- #if (defined(__TURBOC__) && !defined(MSDOS))
- # define MSDOS
- #endif
-
- #ifdef ATARI_ST
- # undef MSDOS /* avoid the MS-DOS specific includes */
- #endif
-
- /* Use prototypes and ANSI libraries if _STDC__, or Microsoft or Borland C,
- * or Silicon Graphics, or IBM C Set/2, or GNU gcc under emx.
- */
- #if (defined(__STDC__) || defined(MSDOS) || defined(sgi))
- # ifndef PROTO
- # define PROTO
- # endif /* !PROTO */
- # define MODERN
- #endif /* MSDOS */
-
- #if (defined(__IBMC__) || defined(__EMX__) || defined(ATARI_ST))
- # ifndef PROTO
- # define PROTO
- # endif /* !PROTO */
- # define MODERN
- #endif
-
-
- #ifdef __IBMC__
- # define S_IFMT 0xF000
- #endif /* __IBMC__ */
-
- #ifdef __EMX__
- # define __32BIT__
- #endif /* __EMX__ */
-
- #ifdef __WATCOMC__
- # define __32BIT__
- #endif
-
- #if (defined(__OS2__) && !defined(OS2))
- # define OS2
- #endif
-
- #ifdef __convexc__
- # define CONVEX
- #endif /* __convexc__ */
-
- /* Turn off prototypes if requested */
- #if (defined(NOPROTO) && defined(PROTO))
- # undef PROTO
- #endif
-
-
- /* Used to remove arguments in function prototypes for non-ANSI C */
- #ifdef PROTO
- # define OF(a) a
- #else /* !PROTO */
- # define OF(a) ()
- #endif /* ?PROTO */
-
-
-